﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LuaInterface;

namespace AuctionScan
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine(ConvertFromUnixTime(1213399112));

        }

        static int[] gsc(int value)
        {
            int gold = value / 10000;
            int silver = (value - gold * 10000) / 100;
            int copper = value - (gold * 10000) - (silver * 100);
            return new int[] { gold, silver, copper };
        }

        public static DateTime ConvertFromUnixTime(double unixTime)
        {
            DateTime initial = new DateTime(1970, 1, 1, 0, 0, 0);
            return initial.AddSeconds(unixTime);
        }

    }
}
